package com.example.springboot.pojo.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * 分页返回结果基类
 */
@Getter
@Setter
@ToString
public class PageBaseDto implements Serializable {

	private static final long serialVersionUID = -8144713395633568502L;

	@ApiModelProperty(value = "页码")
	private Integer pageNum = 1;

	@ApiModelProperty(value = "每页条数")
	private Integer pageSize = 10;

	@ApiModelProperty(value = "排序字段")
	private String orderBy;


}



